<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="com.infomanage.po.*" %>
<%@page import="com.infomanage.vo.*" %>
<%@page import="com.infomanage.enums.*"%>
<%@page import="com.infomanage.service.study.*"%>
<%  response.addDateHeader("Expires", 0);response.setHeader("Pragma","no-cache"); response.setHeader("Cache-Control","no-cache");%>
<%
	request.setCharacterEncoding("UTF-8");
	String eqmtId = request.getParameter("eqmtId");
    if(eqmtId == null) eqmtId = "";
    
    StudyPhysicalItem item = StudyPhysicalService.loadStudyPhysical(request, response, out);
    StudyPhysical bean = item.getBean();
    Person person = item.getPerson();
%>
<html>
<head>
	<title>体质训练</title>
	<link href="../../css/table.css" rel="stylesheet" type="text/css">
	<script type="text/javascript" src="../../js/common.js"></script>
</head>
<body  rightmargin="0" bottommargin="0" leftmargin="0" topmargin="0">
	<table class="dialogTable" cellpadding="0" cellspacing="0">
		<!-- 表头-->
		<tr class="dialogTableHeader">
			<td>体质训练</td>
		</tr>
		<!-- 表数据-->
		<tr class="dialogTableContent">
			<td>
				<!-- 数据项 -->
				<table class="dataTable">
					<col width="15%">
					<col width="35%">
					<col width="18%">
					<col width="32%">
					<tr>
						<td class="field">
							日期
						</td>
						<td height="25px" valign="middle" style="padding-left:5px">
						<%=bean.getTimestamp() %>
						</td>
						<td class="field">
							姓名
						</td>
						<td>
						<%=person.getName() %>
						</td>
					</tr>
					<tr>
						<td class="field">
							引体向上(次)
						</td>
						<td>
							<%=bean.getYinti() %>
						</td>
						<td class="field">
							举重30kg(次)
						</td>
						<td>
							<%=bean.getJuzhong() %>
						</td>
					</tr>
					<tr>
						<td class="field">
							跳高(M)
						</td>
						<td>
							<%=bean.getTiaogao() %>
						</td>
						<td class="field">
							跳远(M)
						</td>
						<td>
							<%=bean.getTiaogao() %>
						</td>
					</tr>
					<tr>
						<td class="field">
							爬绳(M)
						</td>
						<td>
							<%=bean.getPasheng() %>
						</td>
						<td class="field">
							负重蹲起40kg(次)
						</td>
						<td>
							<%=bean.getFuzhong() %>
						</td>
					</tr>
					<tr>
						<td class="field">
							跑步2000M
						</td>
						<td>
							<%=bean.getPaobuMin() == null ? "" : bean.getPaobuMin()%>&nbsp;分
							<%=bean.getPaobuSec() == null ? "" : bean.getPaobuSec()%>&nbsp;秒
						</td>
						<td class="field">
							拉验力器(次/秒)
						</td>
						<td>
							<%=bean.getLali() %>
						</td>
					</tr>
				</table>
				<table class="dataTable2">
					<col width="15%">
					<col width="10%">
					<col width="75%">
					<tr>
						<td class="field" rowspan="3">
							哑铃
						</td>
						<td>
							上
						</td>
						<td>
							<%=bean.getYalingUp() %>
						</td>
					</tr>
					<tr>
						<td>
							中
						</td>
						<td>
							<%=bean.getYalingMid() %>
						</td>
					</tr>
					<tr>
						<td>
							下
						</td>
						<td>
							<%=bean.getYalingBot()%>
						</td>
					</tr>
					<tr style="height: 80px">
						<td class="field">
							备注
						</td>
						<td valign="top" colspan="2">
							<textarea style="width: 100%;height: 100%;background-color:#dfe8f6" readonly><%=bean.getDescription() %></textarea>
						</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td class="tableBtn" colspan="2">
				<span onclick="window.print();">打印</span>			
				<span onclick="window.close();">关闭</span>
			</td>
		</tr>
		<tr valign="top">
			<td>
				&nbsp;
			</td>
		</tr>
	</table>
</body>
</html>